package com.rongshu.utils;


import com.rongshu.R;

public class Constant {

    public static final String INTENT_DATA = "data";

    public static final String INTENT_MESSAGE = "message";

    public static final String INTENT_TITLE = "title";

    public static final String INTENT_FUNCTIONS = "functions";

    public static final String INTENT_H5 = "h5";

    public static final String INTENT_TYPE = "type";

    public static final String INTENT_STATE = "intent_state";

    public static final String INTENT_PAGEINDEX = "intent_pageindex";

    public static final String INTENT_POSITION = "intent_position";

    public static final String INTENT_LIST = "intent_list";

    public static final String INTENT_CODE = "intent_code";

    public static final String INTENT_THIRD = "intent_third";

    /**
     * 进入文章详情页面的来源标识
     */
    public static final String ARTICLE_DETAILS_REQUEST = "article_details_request";
    public static int FROM_MAIN = 1; //通过首页进入文章
    public static int FROM_SEARCH = 2;//通过搜索结果点击进入文章
    public static int FROM_PENPAL = 3;//通过笔友会帖子进入文章
    public static int FROM_RECOMMEND = 4;//通过别人推荐进入文章
    public static int FROM_HISTORY = 5;//通过浏览历史进入文章
    public static int FROM_USERHOME = 6;//通过别人的主页进入文章


    public static String PENPAL_ID = "penpal_id";//笔友会id

    public static String PENPAL_NOTICE = "penpal_notice";//笔友会公告

    public static String PENPAL_RANK = "penpal_rank";//笔友级别

    public static String PENPAL_MEMBER_OPTION = "penpal_member_option";//笔友会成员操作

    public static String SWEEP_QRCODE_RESULT = "sweep_qrcode_result";//扫描二维码获取的结果

    public static String LABEL = "label";//笔友会标签

    public static String SELECT_LABEL = "selected_label";//笔友会选中的标签

    public static String ARTICLE_ID = "article_id";//文章id

    public static String POST_ID = "post_id";//帖子id

    public static String USER_ID = "UserId";//用户id
    /**
     * 投稿
     */
    public static String DRAFT_ID = "draft_id";//草稿id
    public static String FOLDER_ID = "floder_id";//文集id
    public static String DRAFT_DOBY = "article_body";//草稿的body
    public static String ARTICLE_LENGTH = "article_length";//文章长度
    /**
     * 文章
     */
    public static String LIKE_COUNT = "like_count";//点赞数
    public static String COMMENT_COUNT = "comment_count";//评论数
    public static String IS_COLLECT = "is_collect";//是否收藏

    public static int POST = 1;//帖子
    public static int ARTICLE = 2;//文章


    /**
     * 设置的字体大小
     */
    public static int[] contentSizes = new int[]{R.dimen.dd_dimen_30px, R.dimen.dd_dimen_34px, R.dimen.dd_dimen_38px};

    /**
     * 删除消息类型
     */
    public static int DELETE_ATME = 2;//删除@我的消息
    public static int DELETE_SYSTEM = 3;//删除系统消息


    /**
     * 获取验证码type
     */
    public static int LOGIN_CODE = 1;//短信登录
    public static int FIND_PWD = 2;//找回密码
    public static int BIND_PHONE = 3;//绑定手机
    public static int CHANGE_PHONE = 4;//更换手机
    public static int CHANGE_PWD = 5;//修改密码

    /**
     * 标记消息全部已读类型
     * 1私信，2@我，3文章评论消息
     */
    public static int PRATIVE_LATTER = 1;
    public static int AT_ME = 2;
    public static int ARTICLE_COMMENT_ME = 3;

    /**
     * 推送消息类型（消息中心的类型同样适用）
     */
    public static final int MESSAGE_LETTER = 1; //私信通知
    public static final int MESSAGE_PRAISE = 2; //赞
    public static final int MESSAGE_COMMENT = 3; //评论
    public static final int MESSAGE_AT = 4; //@
    public static final int MESSAGE_ATTENTION = 5; //被关注
    public static final int MESSAGE_ARTICLE = 6; //关注人发布文章
    public static final int MESSAGE_EVENT = 7; //登录送推荐卡活动
    public static final int MESSAGE_LOGIN = 8; //提醒其他设备登陆
    public static final int MESSAGE_PENPAL = 9; //加入笔友会、移交会长（副会长）
    public static final int MESSAGE_CONTRIBUTE_FAILD = 10; //退稿
    public static final int MESSAGE_CONTRAIBUTE_SUCCESS = 11; //文章审核通过
    public static final int MESSAGE_V_FAILD = 12; //加V未通过
    public static final int MESSAGE_V_SUCCESS = 13; //加V通过
    public static final int MESSAGE_REMOVE_PENPAL = 14; //移除笔友会
    public static final int MESSAGE_REPORT = 15; //内容举报
    public static final int MESSAGE_FEED_BACK = 16; //问题反馈


    //@  点赞  私信   评论  关注作者
    /**
     * 日签类型
     */
    public static final int DAY_SIGN_AUTHOR = 1;//作者日签
    public static final int DAY_SIGN_RONGSHU = 2;//官方日签

    /**
     * 广告类型
     */
    public static final int ADVERT_ARTICLE = 1;//文章
    public static final int ADVERT_H5 = 2;//外链

    /**
     * 记录上次登录的方式（手机号码、QQ、微信你）
     */
    public static final String LOGIN_WAY = "login_way";
    public static final int LOGIN_WAY_QQ = 1;
    public static final int LOGIN_WAY_WECHAT = 2;
    public static final int LOGIN_WAY_SINA = 3;
    public static final int LOGIN_WAY_PHONE = 4;
}
